package com.weishu.core.service;

import com.weishu.core.entity.TbPremisesInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 楼盘信息表 服务类
 * </p>
 *
 * @author cuidk
 * @since 2021-10-19
 */
public interface ITbPremisesInfoService extends IService<TbPremisesInfo> {

    /**
     * 楼盘条件查询
     * @param tbPremisesInfo 楼盘信息
     * @return
     */
    List<TbPremisesInfo> selectTbPremisesInfoList(TbPremisesInfo tbPremisesInfo);

    /**
     * 批量删除楼盘信息
     * @param ids 楼盘id
     * @return
     */
    int deleteTbPremisesInfoByIds(Long[] ids);

    /**
     * 删除楼盘信息
     * @param id 楼盘id
     * @return
     */
    int deleteTbPremisesInfoById(Long id);

    /**
     * 新增楼盘信息
     * @param tbPremisesInfo 楼盘信息
     * @return
     */
    int insertTbPremisesInfo(TbPremisesInfo tbPremisesInfo);

    List<TbPremisesInfo> querylist();
}
